HEX
Server: LiteSpeed
System: Linux eticaretsrv4.isimtescil.net 3.10.0-962.3.2.lve1.5.26.7.el7.x86_64 #1 SMP Wed Oct 2 07:53:12 EDT 2019 x86_64
User: sioberen (1086)
PHP: 7.3.33
Disabled: NONE
Upload Files
File: /home/sioberen/www/wp-content/plugins/colibri-page-builder/assets/js/customizer/preview.js
(function ($) {
    if (!NodeList.prototype.forEach) {
        NodeList.prototype.forEach = Array.prototype.forEach;
        HTMLCollection.prototype.forEach = Array.prototype.forEach; // Because of https://bugzilla.mozilla.org/show_bug.cgi?id=14869

    }

    if (!Array.from) {
        Array.from = function (object) {
            return [].slice.call(object);
        };
    }

    $(function () {

        // WebKit contentEditable focus bug workaround:
        if (/AppleWebKit\/([\d.]+)/.exec(navigator.userAgent)) {
            var editableFix = $('<input style="position:fixed;z-index-1;width:1px;height:1px;border:none;margin:0;padding:0;" tabIndex="-1">').appendTo('html');

            $('body').on('blur', "i.fa[contenteditable]", function () {
                editableFix[0].setSelectionRange(0, 0);
                editableFix.blur();
            });
        }
    });


})(jQuery);



wp.customize.bind('loading-initiated', function () {
     top.CP_Customizer.showLoader();
});

jQuery(document).ready(function ($) {

    if (wp.customize && wp.customize.mutationObserver) {
        wp.customize.mutationObserver.disconnect();
    }
    // if page is not maintainable with companion do not decorate
    if (!top.CP_Customizer.preview.data().maintainable) {
        return;
    }

	jQuery('a').on('click', function(event) {
	  event.preventDefault();
	  event.stopPropagation();
	});

});